package com.zd.bms.bean.vo.resp;

import com.zd.common.bean.model.BmsResource;

public class BmsResourceRespVo extends BmsResource{
	
	private String parentName;
	
	private Integer pId;
	
	
	
	private String urlStr;
	
	public String getUrlStr() {
		return urlStr;
	}
	
	public Integer getLevelStr() {
		return this.getLevel();
	}

	public void setUrlStr(String urlStr) {
		this.urlStr = urlStr;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String  getLevelName() {
		if(this.getLevel() == 0){
			return "单独菜单";
		}else {
			return this.getLevel() + "级菜单";
		}
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
}
